package ooday02;

public class fish extends animal implements swimi{
    fish(String color, int age,String name){
        super(color,age,name);
    }
    void eat(){
        System.out.println(color+name+"可以吃好多东西他最喜欢骨头");
        System.out.println("fish2");
    }
    void as(){}
    public void swimi(){
        System.out.println(color+"颜色"+age+"岁的鱼"+name+"正在水里游来游去");
    }
    public void test1(){
        System.out.println("test");
    }


}
